 @layout("/common/_container.html",{js:["/assets/modular/comment/comment.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">评论管理</span>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">

                            <div class="layui-inline">
                                <input id="userName" class="layui-input" type="text" placeholder="用户名称"/>
                            </div>
                            <div class="layui-inline">
                                <input id="userNo" class="layui-input" type="text" placeholder="用户编号"/>
                            </div>
                            <div class="layui-inline">
                                <input id="item" class="layui-input" type="text" placeholder="记录id"/>
                            </div>
                            <div class="layui-inline">
                                <select name="commentType"  id="commentType">
                                    <option value="">全部类型</option>
                                    <option value="1">众测</option>
                                    <option value="2">活动</option>
                                    <option value="3">晒物</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <input id="content" class="layui-input" type="text" placeholder="评论内容"/>
                            </div>
                            <div class="layui-inline">
                                <input id="uploadTime" class="layui-input" type="text" placeholder="评论时间区间"/>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                               <!-- <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                            </div>

                        </div>

                    </div>
                    <table class="layui-table" id="commentTable" lay-filter="commentTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">

        <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
        <!--<a class="layui-btn  layui-btn-xs" lay-event="detailItem">查看主题内容</a>-->
</script>
 <script type="text/html" id="statusTpl">
     <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch"  lay-text="显示|屏蔽" {{d.status=='1'?'checked':''}}
            @if(!shiro.isAdmin()){
            disabled
            @}
     />
 </script>
@}